package btp.CoordinateSystems;


public class Latitude {

	int degrees;
	int minutes;
	double seconds;
	
	public Latitude(int degrees, int minutes, double seconds) {
		this.degrees = degrees;
		this.minutes = minutes;
		this.seconds = seconds;
	}
	
	public double toDouble(){
		return degrees+minutes/60.0+seconds/3600.0;
	}
}
